package com.xgxf.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xgxf.server.pojo.FilesManage;
import com.xgxf.server.pojo.FilesManageQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface FilesManageMapper extends BaseMapper<FilesManage> {

    /**
     * 分页获取文件列表
     * @param page 分页信息
     * @param query 查询条件
     * @return 查询结果
     */
    Page<FilesManage> getList(@Param("page") IPage<FilesManage> page,@Param("query") FilesManageQuery query);

    String getTotal(@Param("query") FilesManageQuery query);

    List<String> getVinList();
}
